package routers

import (
	"github.com/gin-gonic/gin"
	"my-gin-tiktok/app/controllers"
)

func InitUploadRouter(router *gin.RouterGroup) {
	upload := router.Group("upload")
	//upload.Use(middlewares.JWTAuthMiddleware())
	upload.POST("/video", controllers.UploadVideo)
	upload.POST("/image", controllers.UploadImage)
	return
}
